Cavity detuning due to power dissipation: a new numerical approach combining the thermo-mechanical and the e.m. codes