President Francois Hollande vows to wage war against Islamic State "by every means" within the law after two men linked to the jihadist group killed a priest in a French church.