text: Title: `prepare_image` in Kandinsky pipelines doesn't support `torch.Tensor`
  Body: Hi, I want to report a bug in Kandinsky pipelines.
  
  https://github.com/huggingface/diffusers/blob/2f0f281b0d808c05bc7a974e68d298a006dd120a/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_img2img.py#L413-L420
  
  According to the above contents, elements in `image` can be either `PIL.Image.Image` or `torch.Tensor`.
  
  https://github.com/huggingface/diffusers/blob/2f0f281b0d808c05bc7a974e68d298a006dd120a/src/diffusers/pipelines/kandinsky/pipeline_kandinsky_img2img.py#L98-L104
  
  However, the `prepare_image` function is only for `PIL.Image.Image`, and does not support `torch.Tensor`.
  
  Can you resolve this problem by implementing an image resize function for `torch.Tensor`?