Nonlinear system identification: An effective framework based on the Karhunen-Loève transform