Ecuador secures historic deal with US development bank