Pakistan’s Mohammad Amir has announced his retirement