Observability Properties and Deterministic Algorithms in Visual-Inertial Structure from Motion