Aston Villa captain Stiliyan Petrov has announced he is quitting football to set up a charity for leukaemia sufferers.