Nonequilibrium thermodynamics at the microscale: Work relations and the second law