Duffy wins women's triathlon for Bermuda's first-ever Olympic gold