Production of bottomonia states in proton+proton and heavy-ion collisions