Factors associated with control of type 2 diabetes mellitus in North Iran