Confined fluid and the fluid-solid transition: Evidence from absolute free energy calculations