Ridgefield wins defensive battle with Danbury