Hundreds of German politicians who have had their private digital lives exposed online are victims of a hacking campaign with unclear motives.