One-dimensional propagation of longitudinal elastic waves through functionally graded materials