Spatial beam reshaping and spectral broadening in quadratic crystals