Optimal packet scheduling in output-buffered optical switches with limited-range wavelength conversion