Onsager relations in a two-dimensional electron gas with spin-orbit coupling