RainIDF: automated derivation of rainfall intensity–duration–frequency relationship from annual maxima and partial duration series