Observational constraints on the energy scale of inflation