Measurement of the flux of atmospheric muons with the CAPRICE94 apparatus