Probability density of determinants of random matrices