Spatial Reasoning with Denoising Models