China's Xi pledges to build 'modern socialist country' for 'new era'