Programmable colloidal molecules from sequential capillarity-assisted particle assembly