Quantum chemical studies of the pyrrole-water and pyridine-water complexes