Relations between concurrent hard X-ray sources in solar flares