Quantum control of vibrational excitations in a heteronuclear diatomic molecule