Accelerometer-based goniometer for smartphone and manual measurement on photograph: do they agree?