Supply and demand factors in the fertility decline in Matlab, Bangladesh in 1977-1999