Noise-aware encoder training and specialized denoiser for efficient JPEG AI compression and denoising