Army lifts ban on serving soldiers having beards