The factors associated with physical inactivity in a city in southern Brazil