Globally Asymptotically Stable Distributed Control for Distance and Bearing Based Multi-Agent Formations