Pep Guardiola says action must be taken by football authorities and politicians to address racism in wider society and in football.