Search for heavy Majorana neutrinos in same-sign dilepton channels in proton-proton collisions at sqrt(s) = 13 TeV