Adaptive stabilization of bilinear systems