Memo to residents in California and New York, and investors across the U.S., seeking both profits and a green energy cause — you can now take a stake in a renewable energy project and get returns that are competitive with more conventional investment products.