Study of the rare decays of B0s and B0 into muon pairs from data collected during the LHC Run 1 with the ATLAS detector