Numerical studies of back-arc convection and the formation of marginal basins