On the origin of the electrooptical effect in pyroelectric crystals