Reliability and generalization of gait biometrics using 3D inertial sensor data and 3D optical system trajectories