Spectral and theoretical study of 2-methyl-3-{[(Z)-3-methyl-5-oxo-1-phenylpyrazol-4-ylidene)methyl]amino}quinazolin-4-one and its complexes with metal ions M(II)