The development of micropillars and two-dimensional nanocavities that incorporate an organic semiconductor thin film