Carbon foams from coals. A preliminary study