Reactions of O+4 and O+2 with methane