Terahertz quantum cascade lasers with angled facets for monolithic integration