Derivatives of probability measures