Characteristics of the flare acceleration region derived from simultaneous hard X-ray and radio observations