Fixed point theorems for Reich type contractions on metric spaces with a graph