Where did the US defeat occupying Spanish forces prior to the Philippine American War?