Germany closes Nord Stream receiving terminals, beefs up security