Search for supersymmetry in events with a photon, a lepton, and missing transverse momentum in pp collisions at sqrt(s) = 8 TeV