Norges Bank Investment Management (NBIM) will acquire a 49% stake in two offshore wind projects for €1.4bn ($1.5bn) from RWE.