Pyroelectric PbTiO3 thin films for microsensor applications