Far-infrared study of optical phonons in an YBa2Cu3O6 crystal