Noncontact-shaft-tachometer