UN chief calls on Europe to 'work collectively' to end migrant crisis