DoorINet: A Deep-Learning Inertial Framework for Door-Mounted IoT Applications