How does a long war with a high number of casualties generally affect civilians' and soldiers' opinions of their government?