Researchers have shed light on how catnip — also known as catmint — produces the chemical that sends cats into a state of wanton abandon.