Molecular dynamics simulation of a cucurbituril based molecular switch triggered by pH changes