Electronic structure of Co doped ZnO : Theory and experiment