Second-Order Structured Deformations: Relaxation, Integral Representation and Applications