Intracavity millimeter wave spectroscopy of molecules in excited vibrational states