Periodic Structures: Mode-Matching Approach and Applications in Electromagnetic Engineering