On the dual equivalence of the self-dual and topologically massive p-form models