Search for lepton flavour violating decays of the Higgs boson to e tau and e mu in proton-proton collisions at sqrt(s) = 8 TeV