Quantum Nondemolition Measurements of Vibrational Populations in Ionic Traps