Derivatives of probability functions and integrals over sets given by inequalities