variance formula for continuous probability distribution