EU declares Spain, Portugal in violation of deficit rules