Microring resonance stabilization using thermal dithering