Dimuon production in p-A and In-In collisions