Factors associated with HbA1c levels in poorly controlled type 2 diabetic patients in North-East Malaysia