THE LINEAR QUADRATIC OPTIMIZATION PROBLEM FOR A CLASS OF SINGULARLY PERTURBED STOCHASTIC SYSTEMS