General integral equation formulation for microstrip antennas and scatterers