Classification of accelerometer wear and non-wear events in seconds for monitoring free-living physical activity