A multi-factor Markovian HJM model for pricing American interest rate derivatives