Cloud services integration for farm animals’ behavior studies based on smartphones as activity sensors