Under the Gas Safety (Installation and Use) Regulations 1998, who is legally responsible for ensuring gas appliances are maintained in a safe condition in rented properties?