Preparation and characterization of YBa2Cu3O7−x samples for microwave applications