Danish police have charged two Swedish teenagers with setting off grenades on a rooftop near Israel's embassy in Copenhagen.