France declares emergency amid heatwave