On Damage Functions for the Estimation of Storm Loss and their Generalization for Climate-Related Hazards