University and healthtech firm collaborate to develop smart pill dispenser