Middle-aged women who sit for long periods of time are more likely to become frail with age