Recovering a probabilty density from a finite number of moments and local a priori information