Calorimetric and X-ray Diffraction Studies of Critical Behavior at the Nematic to Lamellar Phase Transition