Polysulfide intercalation in bilayer-structured graphitic C3N4: a first-principles study.