Properties of solar flare electrons, deduced from hard X-ray and spatially resolved microwave observations