Three councils win competition to digitise planning services