Code used for data processing and analysis is available from the corresponding author upon reasonable request. The MATLAB code used for analyses of fibre photometry data is provided as a supplementary ...