Design and implementation of a battery powered portable device for long term measurements of ambulatory urodynamics