Tusk 'cautiously optimistic' over Turkey refugee deal