Expansion of the planetary disturbing function