Human rights organisations win landmark battle against UK mass surveillance