The Hampshire Cos. has sold a newly delivered industrial complex in Totowa for $51 million, brokers with HFF announced Tuesday, following a project that called for retrofitting and expanding a former life sciences building off Route 46.