Diversity analysis of equal gain transmission for singleuser and multiuser MIMO