Gilbert man invents device to help prevent child drownings