Understanding and optimising the chemical properties of growing media for soilless cultivation