Jonathan Trott and Nick Compton smashed superb centuries as England dominated the opening day of the second Test in Wellington.