Andy Griffith died of heart attack, death certificate says