Gandolfini dies of heart attack at 51