The electronic structure of glassy uranium and thorium alloys