A special class of semi(quasi)topological groups and three-space properties