Correlated observations of a spatially resolved type III solar radio burst group and the associated hard X-ray emission