The Royal and Ancient Golf Club of St Andrews has appointed Claire Dowling as its first female captain, ending 272 years of male-only leadership.