Structural characterization of PZT thin films and related properties