Recent advances on physical layer security for wireless communications