Fidel Castro regrets treatment of gays