Floods hit northern Philippines after typhoon forces dam release