Intersection of a marginal basin with a continent: structure and sediments of the Bay of Plenty, New Zealand