Characterization and application of betalain pigments from plants of the Amaranthaceae