Multifractal analysis for multimodal maps