Sharp estimates for oscillatory integral operators via polynomial partitioning