Integrated optical beamformers