Sri Lanka defeat Bangladesh in first Test