A comparison of optoelectronic properties of lattice-matched and strained quantum-well and quantum-wire structures