Efficient, long-term logging of rich data sensors using transient sensor nodes