Highly oriented (111) CoO and Co3O4 thin films grown by ion beam sputtering