Extreme weather conditions such as floods and heatwaves are pushing countries across Europe into taking action to adapt to a changing climate, a study has found.