These builders switched from commercial construction to environmentally responsible residential building — and they’ve learned how to make money at it.