Dynamic analysis of piles and pile groups embedded in homogeneous soils