Asymptotic behavior of solutions to semilinear systems of wave equations