Droplet spreading and pinning on heterogeneous substrates.