Zero-energy Majorana edge modes in the three-dimensional Kitaev model