Spanish PM meets Catalan president to defuse tensions