The UN has approved a resolution establishing an annual day to commemorate the 1995 Srebrenica genocide, despite fierce opposition from Serbs.