Comparative analysis of quantum cascade laser modeling based on density matrices and non-equilibrium Green's functions