Crystal chemistry and electronic structure of actinide compounds