UK 'optimistic' for Cyprus solution