Measurement of elastic omega photoproduction at HERA