Structured Deep Learning: Theory and Applications