The performance of the CMS muon detector in proton-proton collisions at sqrt(s)= 7 TeV at the LHC