States turn federal tax credits into cash for would-be homebuyers