Geopotential harmonics of order 29, 30 and 31 from analysis of resonant orbits