Epidemiological studies of risk factors for bovine mastitis