Gunmen have killed at least 162 people in attacks on two villages in Western Nigeria, according to a lawmaker.