Asymptotic behavior of classical solutions to a system of semilinear wave equations in low space dimensions