Pyroelectric control of the superprism effect in a lithium niobate photonic crystal in slow light configuration