Construction of vertical double-magnet cosmic ray spectrograph and measurement of the momentum-spectrum and charge ratio of high energy muons