Polish court outlaws almost all abortions