POD analysis for free response of linear and nonlinear marginally stable aeroelastic dynamical systems