Two dioceses are given warnings by the Charity Commission over their handling of complaints against a former bishop.