Glyceraldehyde as a source of energy and matter for the origin of life