Putin warns ethnic tensions risk tearing Russia apart