A quantum-mechanical master equation treatment of the dynamical Stark effect