Phase structure of three-dimensional quantum chromodynamics with dynamical fermions