Pressure-induced AlB2 to MgCu2-type structural transition in ThAl2