Officers and public ‘at risk’ over cuts to police force in Scotland