Controlling spontaneous emission and threshold-less laser oscillation with optical microcavities