Theoretical and computational study of high-pressure structures in barium