Analysis of molecular photomechanical performance using a one-dimensional harmonic model