Spatial domain prediction of optimal MIMO beam alignment pairs in D2D networks