Parametric gap solitons in quadratic media