Development of molecular closures for the reference interaction site model theory with application to square-well and Lennard-Jones homonuclear diatomics