British boxer Amir Khan has been banned for two years by UK Anti-Doping (UKAD) after testing positive for Ostarine.