New Zealand captain Williamson out of 2nd Test against England