Teachers and firefighters are the latest public sector workers to announce they will go on strike in disputes over pay.