Passive and active microwave circuits