Researchers develop 3D printed objects that can track and store how they are used