A comprehensive study on electroencephalography and magnetoencephalography sensitivity to cortical and subcortical sources