Spanish parliament to dissolve to trigger elections