Integrated electro-optic Q switching in a domain-inverted Nd:LiTaO(3) laser.