New Zealand Brendon McCullum retires