A structure–property relationship study of bent-core mesogens with pyridine as the central unit