Superconducting critical fields of alkali and alkaline-earth intercalates of MoS2