Fired police officers fail in bid to get their jobs back