GCHQ data collection regime violated human rights, court rules