Application of the density functional method to study adsorption and phase transitions in two-site associating, Lennard-Jones fluids in cylindrical pores