Effect of carbon and tungsten plasma-facing materials on the divertor and pedestal plasma in EAST