Electronic structure of S-C6H5 self-assembled monolayers on Cu(111) and Au(111) substrates