Emulation of greenhouse-gas sensitivities using variational autoencoders