Manchester City's France midfielder Samir Nasri has been given a three-match international ban for his behaviour during Euro 2012.