Microstructural variations of lignite, subbituminous and bituminous coals and their high temperature chars