Multiferroic properties of melanothallite Cu2OCl2