Sri Lanka's PM Ranil Wickremesinghe was sworn in as interim president, after Parliament speaker accepted the resignation of Gotabaya Rajapaksa.