Analysis and Optimization of OFDM Transmission Parameters for Prefix-Based Frequency Error Estimation