Nucleon-antinucleon annihilation in the quark model