The Jubilee ISW Project - II. Observed and simulated imprints of voids and superclusters on the cosmic microwave background