Laboratory simulation of the lunar magnetosphere