Magnetron sputtered nanostructured cadmium oxide films for ammonia sensing