On the continuous limit of integrable lattices .1. The Kac-Moerbeke system and KdV theory