Rich proton dynamics and phase behaviours of nanoconfined ices