Arbitrage-free discretization of lognormal forward Libor and swap rate models