Optimal frequency for magnetic resonant wireless power transfer in conducting medium