Coupling of a Josephson soliton oscillator to coplanar and microstrip cavities