can diabetes cause bad headaches