Nokia wins German patent ruling against HTC