A Leeds police officer who conducted unauthorised searches on a police computer and shared the information with others has been given a suspended sentence.