Prediction of the Monin-Obukhov similarity functions from a second-order-closure model