Peter Jackson resigns as Bradford boss