Spontaneous assembly of bilayer membranes on a solid surface