Some new results on extended Hamming product codes and punctured product codes