Reference-based Image Composition with Sketch via Structure-aware Diffusion Model