A characterization of the Riesz family of shifts of functions on locally compact Abelian groups