Analytical solutions of the heat diffusion equation for 3ω method geometry