Metabolic P systems for biochemical dynamics