Pricing annuity gurantees under a regime-switching model