Spain's acting Prime Minister Pedro Sanchez has met with opposition leaders, opening the door to forming a coalition government.