Nonlinear screening of pyroelectric films and grains in semiconductor matrix