Characteristics of Rectangular Waveguide Bends Integrated into Thin Substrate and Compensation of the Right-Angled Bends