Search for heavy neutrinos and W bosons with right-handed couplings in proton-proton collisions at sqrt(s) = 8 TeV