Spectroscopic investigation of local molecular dynamics in liquid crystals I. Small molecules