Vast differences in technical rules governing how schools, hospitals and councils undertake capital investments could undermine plans to join up local public services through initiatives such as Total Place, a former Downing Street adviser has warned