French police detain 300 after anti-NATO protests