From bacteria to cancer exploiting metabolic networks for industrial and therapeutic purposes