RWE has cancelled plans for of an offshore wind farm in the UK, blaming technical challenges and market conditions for making it uneconomic to go ahead.