Protesters clashed with police in Switzerland during a demonstration against the upcoming G7 summit in neighbouring France.