Affordable housing in Ridgefield? State grant will pay for development study