Dielectric friction and ionic hydration near boundaries: Image charge effects