Sprinter Tyson Gay has been handed a one-year suspension for doping after testing positive for a banned substance last year.