Emergency crews rescue man trapped in car after accident