Diffusion-aided Task-oriented Semantic Communications with Model Inversion Attack