Nora Ephron reshaped the romantic comedy, crafting films remembered with genuine affection even by men who rarely rank the genre among their favorites.