Stephen Curry to teach online basketball course