Electronic two-dimensional beam steering for integrated optical phased arrays