Chiral effective field theory for nuclear matter