String-plucking model for vibrational excitation of molecules