French President Francois Hollande has acknowledged his country's role in the internment of the Roma ethnic group during the second world war.