On the effects of memoryless nonlinearities on M-QAM and DQPSK OFDM signals