A stable recovery method for the Robin inverse problem