Franz–Keldysh electrorefraction and electroabsorption in bulk InP and GaAs