How to protect your child's inheritance if they go through a divorce