Conditional Diffusion Models for Camouflaged and Salient Object Detection