Burst on Hurst algorithm for detecting activity patterns in networks of cortical neurons