Worldwide investments in clean energy projects have hit a six-year low.