Necessary and sufficient conditions for distributed containment control of multi-agent systems without velocity measurement