Design of single-carrier frequency domain equalization (SC-FDE) with transmit diversity for wireless and optical communications