Dielectric and electrooptic properties of PMN-PT single crystals and thin films