webcam capture with C++ and OpenCV