Study on pore characteristics and microstructure of sandstones with different grain sizes