Correlation between changeover from weak antilocalization (WAL) to weak localization (WL) and positive to negative magnetoresistance in S-doped Bi1.5Sb0.5Te1.3Se1.7