Nonlinear diffusion equations and curvature conditions in metric measure spaces