A no-hair theorem for black holes in f(R) gravity