Transparency, reputation, and credibility under floating and pegged exchange rates