On entropy for mixtures of discrete and continuous variables