Police and protesters prepare for G8 summit in Germany