Designing institutions for monetary stability