German police arrest three in imminent terrorist plot