Sri Lanka win 2nd Test as West Indies collapse