Transmission Spectroscopy of the Hot Jupiter WASP-12b from 0.7 to 5 \ensuremathμm