Medtronic, IBM unveil app that could predict hypoglycaemia up to three hours in advance