Men who have sex at least twice a week can almost halve their risk of heart disease, according to new research.