Clustering and fluidization in a one-dimensional granular system: molecular dynamics and direct-simulation Monte Carlo method.