what does a sociologist do