Electronic structure of group iv hydrides and their alloys