cómo afecta el divorcio al testamento y las herencias