Italy's efforts to form government fail as president defends euro