Beamforming for ISAC