Impact of polar nanoregions on the quadratic electro-optic effect in K0.95Na0.05Ta1−xNbxO3 crystals near the Curie temperature