Content replication and placement in mobile networks