The Dynkin game with regime switching and applications to pricing game options