Beam self-trapping in pyroelectric photorefractive crystals