Concurrent synthesis of SnO/SnO2 nanocomposites and their enhanced photocatalytic activity