Diabetes breakthrough: New smartphone app could help million of sufferers