Environmental pollutants and beta cell function: relevance for type 1 and gestational diabetes