Study of the rare decays of B0 and B-0 mesons into muon pairs using data collected during 2015 and 2016 with the ATLAS detector