A Simplified Method for Calculating Transient Average Temperature and Heat Transfer in a Laterally Heated Cavity