An improved method for the synthesis of substituted cyclobutenediones