Spanish police have occupied the Catalan government's communications hub on the eve of a banned independence referendum.