The militia shall be composed of all able-bodied male citizens between the ages of 18 and 45 years, except such as are exempted by the laws of the United States or of this state; but all such citizens of any religious denomination, who, from scruples of conscience, may be averse to bearing arms, shall be excused therefrom upon such conditions as shall be prescribed by law.