Measurement of the direct photon spectrum from Υ(1S) decays