Semiclassical approach to atomic decoherence by gravitational waves