Subsidence history, gravity anomalies, and flexure of the northeast Australian margin in Papua New Guinea