Can habit formation solve the consumption anomaly in the two-sector business cycle model?