Photometry of the five marginally studied open clusters Collinder 74, Berkeley 27, Haffner 8, NGC 2509, and VdB-Hagen 4