Taking a deep sniff of lavender before you settle down for a horror film might stop you getting so scared - but only if you are a woman, a study finds.