Effects of the tensor force on the multipole response in finite nuclei