Task-Adaptive Semantic Communications with Controllable Diffusion-based Data Regeneration