Philippines evacuates thousands in floods