Comparative electroabsorption studies of organic and inorganic solids