Risk factors for development of long term complications of type 2 diabetes mellitus in patients attending a diabetic clinic