requisitos para heredar código civil