Multiaperture photometry of galaxies. II - Near-infrared observations of six isolated objects