Credit guarantees for green investments