Identifying clinically important COPD sub-types using data-driven approaches in primary care population based electronic health records