Left-handed and right-handed one-way edge modes in a gyromagnetic photonic crystal