Former world 100m record holder Asafa Powell has been banned for 18 months after being found guilty of a doping offence.