The role of implicit contracts: Building public works in the 1840s in Portugal