Two temperate Earth-mass planets orbiting the nearby star GJ 1002