Monolithic Q-Switched And Mode-Locked Lasers Using Liquid Crystal Modulators