The basic reproductive number (R0) of SIS epidemics on networks