why did jean valjean take care of cosette