Optimal control of a class of positive Markovian bilinear systems