World number one Jannik Sinner has accepted an immediate three-month ban from tennis after reaching a settlement with the World Anti-Doping Agency (Wada) over his two positive drugs test last year.