The magnetoelectric effect in nickel–GaAs–nickel structures