Identifying externalities in UK manufacturing using direct estimation of an average cost function