The optical afterglow of the short gamma-ray burst GRB 050709.