Tropical coordinates on the space of persistence barcodes