Efficient S-parameter calculation of branchline and patch couplers with the spectral domain analysis method