Odd nuclei and shape phase transitions: the role of the unpaired fermion