Ex-world champion Amir Khan retires from boxing