Waterproof and dustproof light