Maximum Entropy-Minimum Norm method for the determination of level densities