A unified model for analyzing free vibration and buckling of end-bearing piles