Sri Lanka win series as Bangladesh draw Test