Spectroscopic investigation and molecular docking studies of certain biologically active pyridine and thiophene compounds using dft method