Research finds sex is safe after a heart attack