Ab initio characterization of surface states at the S/Cu(100) interface