Ab initio tight-binding analysis of CdS nanocrystals