Epidemics on random intersection graphs