Two American troops, three Iraqis killed in attacks