Alternately Optimized Graph Neural Networks