First principles study on the segregation of metallic solutes and non-metallic impurities in Cu grain boundary