Modeling energy-efficient secure communications in multi-mode wireless mobile devices