Solvent-free synthesis of inorganic-organic hybrid solids with chainlike, layered, and open-framework structures