Socioeconomic, demographic and nutritional factors associated with maternal weight gain in general practices in Southern Brazil.