Residents seek relief from record heat in France with 40 drowning deaths reported