Structural evolution, dielectric and electro-optic properties of sol-gel derived potassium titanyl phosphate thin films