Evolution of the Late Miocene Mediterranean–Atlantic gateways and their impact on regional and global environmental change