Option-based risk management of a bond portfolio under regime switching interest rates