High-resolution knife-edge laser beam profiling