Variational Principles in Stability Analysis of Composite Structures