Miniaturized high-throughput synthesis and screening of responsive hydrogels using nanoliter compartments