US, Germany reach agreement on controversial Nord Stream 2 pipeline