The Brezis-Nirenberg problem for fractional systems with Hardy potentials