Measurement of cosmic-ray muon spectrum and charge ratio at large zenith angles in the momentum range 100 GeV/c to 10 TeV/c using a magnet spectrograph