A characterization of all elliptic algebro-geometric solutions of the AKNS hierarchy