Thermomechanical response of Large Hadron Collider collimators to proton and ion beam impacts