The area, enclosed by the curves \( y = \sin x + \cos x \) and \( y = |\cos x - \sin x| \) and the lines \( x = 0 \), \( x = \frac{\pi}{2} \), is:
\( 2\sqrt{2}(\sqrt{2} - 1) \)
\( 4(\sqrt{2} - 1) \)
\( 2\sqrt{2}(\sqrt{2} + 1) \)
\( 2(\sqrt{2} + 1) \)