California sheriff: Youth who shot classmate felt he'd been bullied