The sides a,b,c of a triangle satisfy the relations c2=2ab and a2+c2=3b2. Then the measure of ∠BAC, in degrees, is