Towards high purity nanostructures from electron beam induced deposition of platinum