Frege and the Logic of Sense and Reference