Transitions to Liquid Crystalline Phases in a Semifluorinated Alkane