Identification of stable genetic networks using convex programming