A photoelectronic device for recording of three-dimensional positional changes and its application to analysis of human motion