Lipid vesicles as possible intermediates in the origin of life