Parliament passes code of conduct for lawmakers