Ferroelectric PbTiO3 thin films and their application