Aharonov-Bohm and Aharonov-Casher effects in a double quantum dot Josephson junction