China signs pact with ‘friend and partner’ New Zealand