Russell Brand granted bail after court appearance