Quantum description of vibrational molecular states coupled to optical nanocavities.