Optimum design of multilayer-medium structures in a magneto-optical readout system