Automatic monitoring of neural activity with single-cell resolution in behaving Hydra