The topology of spaces of J-holomorphic maps to CP²