The effects of curvature and constriction on airflow and energy loss in pathological tracheas