Legal strategies can keep farmland in the family