Secure location-aware communications in energy-constrained wireless networks