Robert F Kennedy Jr has rejected being "anti-vaccine" during confirmation hearings in his bid to become US health secretary.