Prior-to-and post-impact fall detection using inertial and barometric altimeter measurements