Structure formation in multiple dark matter cosmologies with long-range scalar interactions