MassSpecGym: A benchmark for the discovery and identification of molecules