Homogenisation theory for Friedrichs systems