Dem congressman offers resignation after conviction