Petraeus warns of more bloodshed in Afghanistan