A particle of mass \(m\) was transferred from the centre of the base of a uniform hemisphere of mass \(M\) and radius \(R\) into infinity. What work was performed in the process by the gravitational force exerted on the particle by the hemisphere?