How to read and log acceleration data using iPhone built-in accelerometer and Pocket Lab Classic ?