A new study suggests male investors are prone to panic, while women play it smart