Devices including multiple stages, e.g., multi-stage optical amplifiers or dispersion compensators