Gradient flows and diffusion semigroups in metric spaces under lower curvature bounds