Efficient CoO nanowire array photocatalysts for H2 generation