Analytical investigation of impulse and oscillatory response of piles subjected to internal solitary waves