A transfer mechanism for a monetary union