Martingales and information divergence