Optical microspectrometer using a micro-instrumentation platform