Solution of General Linear Complementarity Problem using smooth optimization and its application to bilinear programming