Huge strikes sweeping the German metalworking sector have ended with the main union provisionally agreeing two sets of pay rises to 2014.