Measurement of the structure functionsF2 andxF3 and comparison with QCD predictions including kinematical and dynamical higher twist effects