Prediction of the resonance frequency of natural convection in an enclosure with time-periodic heating imposed on one sidewall