How are Beamforming and Precoding Related?