Crime and social environments: differences between misdemeanors and felonies