German officer convicted of plotting to kill politicians