The Role of Graphlets in Viral Processes on Networks