PQMass: Probabilistic Assessment of the Quality of Generative Models using Probability Mass Estimation