Search for B_s to mu^+ mu^- and B^0 to mu^+ mu^- decays