En studie som jämförde människor och hundar fann att mäns skägg hyste fler mikrober – och mer skadliga – än hundpäls.