In WW1 and WW2 the French referred to the Germans derogatorily as "Boches". Where did this word come from?

In WW1 and WW2 the French referred to the Germans derogatorily as "Boches". Where did this word come from?