Infrared-sensing snakes select ambush orientation based on thermal backgrounds