Optimal Energy Procurement for Geo-distributed Data Centers in Multi-timescale Markets