The restoration and expansion of Porthmeor Studios in St Ives continues the 200-year story of a building that grew organically out of the Cornish sand