Pile Groups Displacement Calculation Based on Mindlin Solution and Principle of Minimum Potential Energy