At least 18 killed in Chile wildfires as president declares state of catastrophe