Variational approach to pulse propagation in parametrically amplified optical systems