VSP: Assessing the dual challenges of perception and reasoning in spatial planning tasks for VLMs