A validation study of a smartphone application for functional mobility assessment of the elderly