Pope Francis has accepted the resignation of French cardinal Philippe Barbarin who had been caught up in a sex abuse case, the archbishop of Reims said in a statement.