Firefighters and paramedics from Dublin Fire Brigade have threatened strike action in a row over staffing levels.