Natural time analysis