Sulfur doped FeSe: A first-principles study of its electronic and superconducting properties