Littlewood–Paley functions on homogeneous groups