Winter-blooming houseplants

I have some Christmas cacti and begonias that bloom only in winter. What mechanism in the plants enables them to bloom with less light, and prevents them from blooming when the days get longer?