Shape-Guided Diffusion with Inside-Outside Attention