Germany's RWE has scrapped plans to build the £4 billion Atlantic Array offshore wind farm in Britain because of "market conditions and significant technical challenges."