Aharonov-Bohm and Aharonov-Casher effects for local and nonlocal Cooper pairs