Motion sensor accuracy under controlled and free-living conditions.