Controlling edge states of zigzag carbon nanotubes by the Aharonov-Bohm flux