Racing Metro have confirmed the signing of Wales scrum-half Mike Phillips on a two-and-a-half year deal.