UK warns Putin and Xi over 'dictatorship'