Surface Photometry of Dwarf Irregular Galaxies in Different Environments