Learning-Based Cache Placement and Content Delivery for Satellite-Terrestrial Integrated Networks