Natural oscillations in heated fluid layers