World number one Jannik Sinner accepts to a three-month ban from tennis after reaching a settlement with the World Anti-Doping Agency over his two positive drugs test last year.