The two concepts of money: implications for the analysis of optimal currency areas