Resonance frequency of locally heated cantilever beams