Move C API of video and calib3d modules to separate files