Horizontal gene transfer and the evolution of methanogenic pathways.