Evaluation of core needle biopsy as a substitute to open biopsy in the diagnosis of soft-tissue masses