The former Catalan President Carles Puigdemont has offered to meet Spain's prime minister Mariano Rajoy for talks after an inconclusive election on Thursday.