Search for neutral MSSM Higgs bosons decaying to mu+mu- in pp collisions at sqrt(s) = 7 and 8 TeV