Electronic structure of rare-earth pnictides.