A patient complains of substernal chest pain, which worsens when lying down and improves when leaning forward. What is the diagnosis?