Applications of convex optimization in metabolic network analysis