Controlling the emission properties of solution-processed organic distributed feedback lasers through resonator design