On density of ergodic measures and generic points