Pressure-induced phase transition of AgClO4: A first-principles study