New approach for determining who benefits most from cardiac rehab