Qatar says 'optimistic' about resolving Gulf crisis