Origin and inversion of sedimentary basins in Southern Central America