Ab initio structural and electronic analysis of CH3SH self-assembled on a Cu(110) substrate