Local Hawking temperature for dynamical black holes