Metaplectic covers of Kac–Moody groups and Whittaker functions