Photometry of resolved galaxies. IV - Holmberg I and Holmberg II