Functional development and regeneration of hair cells in the zebrafish lateral line