Measurement of the Cosmic-Ray Energy Spectrum and Composition from 1017 to 1018.3 eV Using a Hybrid Technique