Substrate effects on the properties of the pyroelectric thin film IR detectors