Characterization and modeling of PZT-based pyroelectric sensors