Optical frequency standards and clocks based on single trapped ions