can diabetes cause frequent headaches