Rural labor allocation and farm technology