Quantal synaptic dilution enhances sparse encoding and dropout regularisation in deep networks