Theoretical investigation of the high-pressure crystal structures of Ce and Th.