New-Keynesian Phillips curve with Bertrand competition and endogenous entry