Electric light bulb with on-off switch