Staff shortages and rising input costs slows pace of UK economic growth