Structural and Electronic Properties of Narrow Gap Zincblende and Chalcopyrite Compounds