To be or not to be what you eat: regulation of stoichiometric homeostasis among autotrophs and heterotrophs