Quantitative wave–particle duality relations from the density matrix properties