Electronic structure of ternary cubic uranium compounds