Effective-substrate theory for optical reflection from a layered substrate.