Hybrid transfer-matrix FDTD method for layered periodic structures.