Principle for dating materials using radioactive isotopes