Ridgefield beats Enfield, heads to baseball state semis