Phase transition thermodynamics of phenyl and biphenyl naphthalenes