Castro and Hu attend welcoming ceremony in Beijing