‘Miracle’ pill developed to replace insulin shots for diabetics