The overall properties of intermediate-age galactic open clusters: fundamental parameters of NGC 2627