Metabolism and microenvironment in cancer plasticity