Gain spectroscopy and tunable single mode lasing of solution-based quantum dots and nanoplatelets using tunable open microcavities