Applications of in-medium chiral dynamics to nuclear structure