Superconductivity in layer compounds intercalated with paramagnetic molecules