A general superdirectivity model for arbitrary sensor arrays