All-optical nanoscale heating and thermometry with resonant dielectric nanoparticles for photoinduced tumor treatment