1960. Maximum Product of the Length of Two Palindromic Substrings (Leetcode Hard)