Thermal tunability of monolithic polymer microcavities