If sin x + cos x = 0 and x lies in the fourth quadrant, find sin x and cos x.