Benchmarking energy consumption and latency for neuromorphic computing in condensed matter and particle physics