The inquiry into the Grenfell Tower fire has opened, with its chairman promising it will provide answers to how the disaster could have happened in 21st century London.