Hammerstein and Wiener model identification using rational orthonrmal bases