An investigative study on energy based data gathering and secure energy efficient multipath routing scheme in wireless sensor networks