Density dependencies of interaction strengths and their influences on nuclear matter and neutron stars in relativistic mean field theory