Analysis and design of BICM-OFDM and buffer-aided relaying