Investigations on the heat flux and impurity for the HL-2M divertor