Validating the 6-minute walk test as an indicator of recovery in patients undergoing cardiac surgery