design and construction of an automatic night lamp using transistor pdf