Members of three of the main teaching unions in Northern Ireland have voted overwhelmingly for strike action over pay.