German police say they have arrested 25 extremists suspected of plotting a coup to overthrow the government.