Globally Optimal Bilinear Programming for Computer Vision Applications