PbTiO3 ferroelectric thin film gate fet for infrared detection