where did the philippine american war take place