Numerical simulation of piles subjected to lateral spreading and comparison with shaking table results