A method based on a dual frequency resonator to estimate physical parameters of superconductors from surface impedance measurements in a magnetic field