Propagation study and antenna design for wireless sensor networks in train environment