Communications in wireless sensor networks : compression, energy efficiency and secrecy