Observation of isoscalar and isovector dipole excitations in neutron-rich 20 O