Multifractality of rainfall and scaling of the IDF curves