Propagation of acoustic and optical solitons in nonlinear diatomic chains