Sweden parties agree to form govt with far-right backing