Optimized suppression of coherent noise from seismic data using the Karhunen-Loeve transform