MAC management techniques to improve energy efficiency and prolonging the life time of wireless sensor networks