An I-V measurement method and its application for characterizing ferroelectric PZT thin films