Photoexcitation of dipole modes in 160,162,164Dy