Qatar, UAE energy ministers say gas will be needed for long time