New system of classifying diabetes 'could revolutionise treatment'