hall effect vs optical