How to ensure children’s well-being in divorce