Text this: Large deviations for a spatial average of stochastic heat and wave equations.