Walking thousands of steps a day may not offset the harm caused by spending too many hours sitting, a study warns.