Astrometric and photometric study of NGC 6067, NGC 2506, and IC 4651 open clusters based on wide-field ground and Gaia DR2 data