Tensions rise ahead of 'illegal' Catalan referendum