Blake Lively Reveals How She Got in Shape for 'The Shallows'