Estimation of the age of ink in writing