Distributed feedback ring resonators for vertically emitting terahertz quantum cascade lasers