Stoke City defender Andy Wilkinson has announced that he will retire from football after suffering a concussion last year.