A method of calculating the mechanical properties of nanoscopic plant cell wall components from tissue properties