Surface freezing in chain molecules: Normal alkanes