Relationship between B-factor and average shortest path in the protein structure