A structural study of liposome formation