python euler to quaternion