One-loop string amplitudes in AdS_5×S^5: Mellin space and sphere splitting