Compton, Trott score centuries as England dominate