The maser synchrotron instability in an inhomogeneous medium: Determination of the spectral intensity of auroral kilometric radiation