Two-dimensional electronic spectroscopy of an excitonically coupled dimer