Luminescence properties of amorphous silicon-nitride-based optical microcavities