Influence of material and behavioural factors on occupational class differences in health