Temperature dynamics of laser irradiated gold nanoparticles embedded in a polymer matrix