Superradiance and inhomogeneous broadening. I: Spontaneous emission by two slightly detuned sources