On the analytical development of the lunar and solar disturbing functions